<div class="bjui-pageContent">
    <form action="{:U('save_article')}" data-callback="dialogFormCall" data-toggle="validate" data-alertmsg="false" class="dialogForm">
        <input type="hidden" name="id" value="{$va.id}"/>
        <div class="form-group">
            <label class="x100">文章标题:</label>
            <input type="text" name="title" data-rule="required" value="{$va.title}"/>
        </div>
        <div class="form-group">
            <label class="x100">文章类别:</label>
            <select name="class_id">
                <option value="">--请选择--</option>
                <volist name="res" id="vo">
                <option value="{$vo.id}" <if condition="$vo['id'] eq $va['class_id']">selected="selected"</if>>{$vo.name}</option>
                </volist>
            </select>
        </div>
        <div class="form-group">
            <label class="x100">外链:</label>
            <input type="text" name="url" data-rule="url" class="w400" value="{$va.url}"/>
        </div>
        <div class="form-group">
            <label class="x100">发布时间:</label>
            <input type="text" name="add_time" data-rule="required" data-toggle="datepicker" data-pattern="yyyy-MM-dd HH:mm:ss" value="{$va['add_time']?$va['add_time']:date('Y-m-d H:i:s')}" />
        </div>
        <div class="form-group">
            <label class="x100">seo关键字:</label>
            <input type="text" name="keywords"  class="w400" value="{$va.keywords}"/>
        </div>
        <div class="form-group">
            <label class="x100">seo描述:</label>
            <input type="text" name="description" class="w400" value="{$va.description}"/>
        </div>
        <div class="form-group">
            <label class="x100">状态 :</label>
            <input type="radio" name="status" value="0" id="art-status1" data-toggle="icheck" data-label="显示"  <if condition="$va.status neq '1'">checked </if> />
            <input type="radio" name="status" value="1" id="art-status2" data-toggle="icheck" data-label="不显示"  <if condition="$va.status eq '1'">checked </if> />
        </div>
         <div class="form-group">
            <label class="x100">是否在网站底部显示 :</label>
            <input type="radio" name="is_bottom" value="0" id="art-is_bottom1" data-toggle="icheck" data-label="显示"  <if condition="$va.is_bottom neq '1'">checked </if> />
            <input type="radio" name="is_bottom" value="1" id="art-is_bottom2" data-toggle="icheck" data-label="不显示"  <if condition="$va.is_bottom eq '1'">checked </if> />
        </div>
        <div class="form-group clearfix">
            <label class="x100 text-top pull-left">内容:</label>
            <div class="pull-left">
                <textarea name="content"
                             data-toggle="kindeditor" 
                             data-items="'source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste',
        'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
        'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
        'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/',
        'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
        'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage',
        'flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak',
        'anchor', 'link', 'unlink', '|', 'about'"
                             style="width: 100%;"
                             >
                {$va.content}             
                </textarea>
                </div>
        </div>
    </form>
</div>
<include file="Common/footer" ftype="save" />